package com.wmh.baseservice.admin.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wmh.baseservice.admin.pojo.AdInfo;
import com.wmh.baseservice.common.mybatisplus.methods.CommonMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * @author mmx generator
 * @since 2021-02-03
 */
public interface AdInfoMapper extends CommonMapper<AdInfo> {

    IPage<Map<String, Object>> selectAndRole(Page page, @Param("adInfo") AdInfo adInfo);


}
